from django.db import models

class rps_history(models.Model):
    match_id = models.IntegerField()
    round_count = models.IntegerField()
    current_round = models.IntegerField()
    competitor_name = models.CharField(max_length=40)
    competitor_played = models.CharField(max_length=20)
    i_played = models.CharField(max_length=20)
    
    def __str__(self):
        return "match:%s round:%s" % (self.match_id, self.current_round)